<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>管理</title>
    <script src="/config.js"></script>
    <link href="/assets/css/manage.css" rel="stylesheet" media="all">
    <script type="text/javascript" src="/files/flexible.js"></script>
    <script type="text/javascript" src="/files/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/files/manage.js"></script>
</head>
<body>
<div class="head">
    <div class="avatar">
        <img src="" alt="" id="avatar">
    </div>
    <div class="head-right">
        <span id="nickname">昵称: </span>
        <span id="uid">ID: </span>
        <div><span>天卡: </span><span id="num"></span><span>张</span></div>
    </div>
</div>

<div class="input">
    <label for="search">搜索用户</label>
    <input id="search" type="number" name="search" placeholder="请输入用户ID">
    <button>搜索</button>
</div>

<div class="empty"></div>
<div class="main"></div>
<div class="bottom"></div>
<div class="msg"></div>
<div class="pop-up">
    <div class="pop-up-msg">
    </div>
</div>
<script>
    let res = validateLogin();
    $("#nickname").text("昵称: "+res.user.nickname);
    $("#uid").text("ID: " + res.user.id);
    $("#num").text(res.user.day_card);
    $("#avatar").attr("src",res.user.avatar);

    let res2 = JONO_TOOL.get(JONO_HOST + "/index/api/get_token");
    const token = res2.token;
</script>
</body>
</html>